POV-Ray : Newsgroups : povray.newusers : sky bleaches out ?? : Re: sky bleaches out ?? Server Time
4 Nov 2024 19:22:14 EST (-0500)
  Re: sky bleaches out ??  
From: Warp
Date: 21 Nov 2001 09:06:11
Message: <3bfbb4d2@news.povray.org>
I bet that what you want is something like this (look carefully to what
I changed compared to your code):

----------8<----------8<----------8<----------8<----------8<----------
#declare mysky =
material
    { texture
       { pigment
          { granite
            color_map
             {
               [ 0.0     rgbft <1.0, 1.0, 1.0, 0.0, 1.0> ]
               [ 1.0     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
             }
            turbulence 1.0
            omega 0.3
            ramp_wave
          }
         finish
           { ambient 1
           }
       }
    }

sky_sphere
{ pigment
  { gradient y color_map { [0 rgb 1][.3 rgb <0,.5,1>][1 rgb z] }
  }
}

plane
  { -y, -500
    material
    { mysky
      scale 5000
    }
  }
light_source
  { <150, 250, 200>*10 color rgb <1, 1, 1>
  }
camera
  {  location   <1, 1.5, -6>
     look_at    <0, 1.3, 0>
     angle      45
  }

plane
{ y,-5
  pigment
  { granite color_map { [0 rgb <1,.8,.5>][1 rgb <.8,.4,.2>] }
    scale 10
  }
}
----------8<----------8<----------8<----------8<----------8<----------

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.